projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5341efd
)
Fix win32 GC set_region handling of reset_region
author
Alexander Larsson
<alexl@redhat.com>
Wed, 1 Jul 2009 10:06:04 +0000
(12:06 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Wed, 1 Jul 2009 10:06:04 +0000
(12:06 +0200)
gdk/win32/gdkgc-win32.c
patch
|
blob
|
history
diff --git
a/gdk/win32/gdkgc-win32.c
b/gdk/win32/gdkgc-win32.c
index d1e2909b7274793689e2a8686cf53a15c98aba1a..c4e234f4c1a32fa2d890cbc13597136dc33f9673 100644
(file)
--- a/
gdk/win32/gdkgc-win32.c
+++ b/
gdk/win32/gdkgc-win32.c
@@
-598,12
+598,11
@@
_gdk_windowing_gc_set_clip_region (GdkGC *gc,
}
if (reset_origin)
- {
- gc->clip_x_origin = 0;
- gc->clip_y_origin = 0;
- }
-
- win32_gc->values_mask &= ~(GDK_GC_CLIP_X_ORIGIN | GDK_GC_CLIP_Y_ORIGIN);
+ {
+ gc->clip_x_origin = 0;
+ gc->clip_y_origin = 0;
+ win32_gc->values_mask &= ~(GDK_GC_CLIP_X_ORIGIN | GDK_GC_CLIP_Y_ORIGIN);
+ }
}
void